<?php
declare(strict_types=1);

namespace app\event;

class UserInvited
{
    public $merchantId;
    public $inviterId;
    public $inviteeId;
    
    public function __construct(array $data)
    {
        $this->merchantId = $data['merchant_id'];
        $this->inviterId = $data['inviter_id'];
        $this->inviteeId = $data['invitee_id'];
    }
} 